//import Vue from 'vue/dist/vue.esm.js'
import Vue from 'vue'

import Element from 'element-ui'
import './assets/styles/element-variables.scss'

import '@/assets/styles/index.scss'

import App from './App'
import router from './router'
import './permission'
import store from './store'

import './assets/icons'

/*
如果App.vue的话，需要加下面这个，如果直接App，则不用加这个
import Router from 'vue-router'

Vue.use(Router)
*/

Vue.use(Element, { size: 'small'})

Vue.config.productionTip = false

new Vue({
    el: '#app',
    router,
    store,
    render: h => h(App)
})
